package com.spring.study.service;

import com.github.pagehelper.PageInfo;
import com.spring.study.pojo.Emp;

import java.util.List;

public interface EmpService {
    PageInfo<Emp> findAllEmp(Integer page, Integer size);

    Emp findById(Integer empId);

    int insertEmp(Emp emp);

    void buyGood(Integer empId,Integer goodId,Integer num);
}
